<!DOCTYPE html>
<html>
    <head>
        <title>js轮播爆炸css3特效</title>
        <link href="./boomstyle.css" rel="stylesheet" type="text/css" />
    </head>
    <style>
        body {
            overflow: hidden;
            background-color: black;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        * {
            margin: 0;
            padding: 0;
        }
        #box {
            width: 90%;
            height: 100%;
            position: absolute;
            left: 0;
            top: 0;
            right: 0;
            bottom: 0;
            margin: 0 auto;
            border: solid 1px #fff;
        }
        #box > div {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            transform-style: preserve-3d;
            border: solid 1px aqua;
        }
        #box > div > div {
            position: absolute;
            transform-style: preserve-3d;
            /* border: solid 1px #ad3242; 这就是那一个个的小块*/
        }
    </style>

    <body>
        <div id="box">
            <p>就是将一张图分成一小块的小div，之后进行一个拼接成一个大图</p>
        </div>
    </body>
    <script src="./boommain.js"></script>
</html>
